﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCTimKiem.ascx.cs" Inherits="UC_User_UCTimKiem" %>
<style type="text/css">
    .auto-style1 {
        width: 746px;
    }
    .auto-style2 {
        height: 15px;
    }
    .auto-style3 {
        height: 15px;
        width: 380px;
    }
    .auto-style4 {
        width: 380px;
    }
</style>
<div id="wp-centercol_inner">
    <div id="wp-pos-breadcrumbs">
        <span class="breadcrumbs pathway clearafter"><a href="Default.aspx" class="home"></a>
            <div id="crumbs">
                <span style="font-size: large; color: #FF0000">Tìm kiếm</span>
            </div>
        </span>
    </div>
<div class="product-listing-container wp-modulecontainer">
    <div class="wp-modulecontainer_inner">
        <%--<h3 class="wp-moduletitle">--%>
           <%-- <span class="wp-moduleicon">Tìm kiếm</span></h3>--%>
        <div class="wp-modulecontent">
            <div id="dm_container_1">
                <div id="dm_tab_1_1" class="dm_tabcontent">
                    <div class="moduletable">
                        <%--
					
                        --%>
                        <table>
                            <tr>
                                <td>
                                    <asp:Panel ID="pnlTimKiemNangCao" runat="server" Visible="false">
                                        <table>
                                            <tr>
                                                <td class="auto-style3">
                                                    Điều kiện lọc:&nbsp;&nbsp;
                                        <br />
                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tựa sách
                                        <asp:TextBox ID="txtTenSach" runat="server" Width="158px"></asp:TextBox>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
                                                </td>
                                                <td class="auto-style2">
                                                    <br />
                                                    Thể loại&nbsp;&nbsp;
                                                    <asp:DropDownList ID="ddlTheLoai" runat="server" Height="25px" Width="156px">
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                        
                                            <tr>
                                                <td class="auto-style4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Giá:&nbsp;&nbsp;&nbsp;&nbsp; từ
                                                    <asp:DropDownList ID="ddlGiaTu" runat="server">
                                                        <asp:ListItem>1000</asp:ListItem>
                                                        <asp:ListItem Value="10000">10.000</asp:ListItem>
                                                        <asp:ListItem Value="50000">50.000</asp:ListItem>
                                                        <asp:ListItem Value="100000">100.000</asp:ListItem>
                                                        <asp:ListItem Value="200000">200.000</asp:ListItem>
                                                        <asp:ListItem Value="300000">300.000</asp:ListItem>
                                                        <asp:ListItem Value="400000">400.000</asp:ListItem>
                                                        <asp:ListItem Value="500000">500.000</asp:ListItem>
                                                        <asp:ListItem Value="800000">800.000</asp:ListItem>
                                                        <asp:ListItem Value="1000000">1.000.000</asp:ListItem>
                                                    </asp:DropDownList>
                                                    &nbsp; đến
                                                    <asp:DropDownList ID="ddlGiaDen" runat="server">
                                                        <asp:ListItem Value="2000000">2.000.000</asp:ListItem>
                                                        <asp:ListItem Value="1000000">1.000.000</asp:ListItem>
                                                        <asp:ListItem Value="800000">800.000</asp:ListItem>
                                                        <asp:ListItem Value="500000">500.000</asp:ListItem>
                                                        <asp:ListItem Value="400000">400.000</asp:ListItem>
                                                        <asp:ListItem Value="300000">300.000</asp:ListItem>
                                                        <asp:ListItem Value="200000">200.000</asp:ListItem>
                                                        <asp:ListItem Value="100000">100.000</asp:ListItem>
                                                        <asp:ListItem Value="50000">50.000</asp:ListItem>
                                                        <asp:ListItem Value="10000">10.000</asp:ListItem>
                                                    </asp:DropDownList>
                                                    &nbsp;&nbsp;&nbsp; </td>
                                                <td>&nbsp;Tác giả&nbsp;&nbsp;&nbsp;
                                                    <asp:TextBox ID="txtTacGia" runat="server" Width="149px"></asp:TextBox>
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                    <asp:ImageButton ID="btnTimKiem" runat="server" Height="22px" ImageUrl="../Images/Admin/search.ico" OnClick="btnTimKiem_Click" Width="23px" />
                                                </td>
                                            </tr>
                                        
                                            </table>
                                    </asp:Panel>
                                    <asp:Label ID="lblThongBao" runat="server" ForeColor="#3366FF"></asp:Label>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                                    <asp:ImageButton ID="btnTimKiemNangCao" runat="server" Text="Tìm kiếm nâng cao" OnClick="btnTimKiemNangCao_Click" Height="37px" Width="32px" ImageUrl="~/Images/User/filter.ico" ToolTip="Tìm nâng cao" />
                                
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td class="auto-style1" colspan="2">
                        <asp:DataList ID="dtlSach" runat="server" RepeatColumns="4"
                            Style="margin-right: 583px">

                            <HeaderTemplate>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                            </HeaderTemplate>
                            <ItemTemplate>

                                <td width="8%" align="center">
                                    <div class="product-thumbnail">
                                        <a title='<%# Eval("TenSach", "{0}") %>' href="ChiTiet.aspx?MASACH=<%# Eval("MASACH") %>">
                                            <img src='../Images/Sach/<%# Eval("HINH") %>' height="240" width="185" border="0" />
                                        </a>
                                    </div>
                                    <div class="product-title">
                                        <h2><a title='<%# Eval("TenSach", "{0}") %>'href="ChiTiet.aspx?MASACH=<%# Eval("MASACH") %>"> 
                                            <asp:Label  Height="30px" ID="Label1"  runat="server" Text='<%# Eval("TenSach", "{0}") %>'></asp:Label></a></h2> 
                                    </div>
                                    <div class="product-price">
                                        <span class="productPrice">                                        
                                            <asp:Label ID="lb2" runat="server" Text='<%# Eval("GiaTien","{0:0,000}")%>'></asp:Label>
                                            VND&nbsp;&nbsp;
                                        <asp:ImageButton ID="ImageButton1" runat="server" PostBackUrl='<%# Eval("MaSach","~/Page_User/ThemGioHang.aspx?MaSach={0}") %>' />
                                        &nbsp;</span></div>
                                </td>
                            </ItemTemplate>
                            <FooterTemplate>
                                </tr></table>
                            </FooterTemplate>
                        </asp:DataList>


                                
                                
                        </tr>
                    </table>
                    </div>
                    
                </div>

            </div>
            <div class="clearbreak"></div>
        </div>
    </div>
</div>
    </div>